package com.sdgakj.utils.wechat.rest.exception;

import com.sdgakj.utils.wechat.common.exception.IServiceExceptionEnum;

public enum ServiceExceptionEnum
  implements IServiceExceptionEnum
{
  _10001(10001, "缺少redirect_uri参数"), 
  _10002(10002, "缺少scope参数"), 
  _10003(10003, "code参数无效");

  private int code;
  private String message;

  private ServiceExceptionEnum(int code, String message)
  {
    this.code = code;
    this.message = message;
  }

  public int getCode()
  {
    return this.code;
  }
  public String getMessage() {
    return this.message;
  }
}